<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="g" uri="/g-tags"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${modeTitle}车辆</title>
<jsp:include page="../include/edit_meta.jsp"></jsp:include>
</head>
<body>

<div>
    <div class="panel_header">
        <h1>添加车辆</h1>
    </div>
    <div class="panel_body">
    	<div id="msg"></div>
        <!--表单布局-->
        <form action="${ctx }/carInfor/carInfor!${mode}.shtml" id="edit_form" method="post">
        	<input name="id" type="hidden" value="${carInfor.id }" />
	        <div class="form_wrap">
				<div class="form_item">
		            <label>型号：</label>
		            <input name="carInfor.model" type="text" value="${carInfor.model }" class="input_text {required:true}" />
		        </div>
				<div class="form_item">
		            <label>车牌号码：</label>
		            <input name="carInfor.plateNumber" type="text" value="${carInfor.plateNumber }" class="input_text {required:true}" />
		        </div>
				<div class="form_item br">
		            <label>发动机号码：</label>
		            <input name="carInfor.engineNumber" type="text" value="${carInfor.engineNumber }" class="input_text {required:true}" />
		        	（最后6位数）
		        </div>
		        <div class="form_item br">
		            <label>所属区域：</label>
		            <select>
		            	<option></option>
		            	<option>某某某区域</option>
		            	<option>某某某区域</option>
		            </select>
		        </div>
				<div class="form_item">
		            <label>使用公里数：</label>
		            <input name="carInfor.mileage" type="text" value="${carInfor.mileage }" class="input_text {required:true}" />
		        </div>
				<div class="form_item">
		            <label>年审日期：</label>
		            <input name="carInfor.yearCarefulDate" type="text" value="${carInfor.yearCarefulDate }" class="datepicker input_text {required:true}" />
		        </div>
				<div class="form_item br">
		            <label>保险情况：</label>
		            <textarea name="carInfor.insure" rows="2" cols="40">${carInfor.insure }</textarea>
		        </div>
				<div class="form_item br">
		            <label>保险到期时间：</label>
		            <input name="carInfor.insureExpireTime" type="text" value="${carInfor.insureExpireTime }" class="datepicker input_text {required:true}" />
		        </div>
				<div class="form_item br">
		            <label>使用中问题：</label>
		            <textarea name="carInfor.problem" rows="2" cols="40">${carInfor.problem }</textarea>
		        </div>
				<div class="form_item br">
		            <label>维修费用：</label>
		            <input name="carInfor.maintainCost" type="text" value="${carInfor.maintainCost }" class="input_text {required:true}" />
		        </div>
		        
		    	<div class="divider"></div>
		    </div>
		    <!--表单布局-->
		    
		    <div class="form_btn">
		        <ul>
		            <li><input type="submit" value="提交" /></li>
		             <li><input type="button" value="取销" onclick="cancel()"/></li>
		        </ul>
		    </div>
		</form>
        <!--表单布局end-->
    </div>
</div>
</body>
</html>